,

Browse Core Java Solutions


   
501 Solution(s) found
Core Java
0 ratings
Views 13
What is java and why is used and its feature.
Java is OOP language,and it is developed by sun micro system and his team.

Core Java
0 ratings
Views 44
Difference between string and string buffer
String class object can't be Modified

Core Java
0 ratings
Views 43
What is java and why is used and its feature.
Java is OOP language,and it is developed by sun micro system and his team,

Core Java
0 ratings
Views 46
how to fix storage running out of space
how to fix storage running out of space

Core Java
0 ratings
Views 60
What is the Required skill to develop the Application
you have to learn some specific techniques to help to create a new idea and learn also.

Core Java
0 ratings
Views 102
Core Java Reflection
How we can Access Private Data member out site of a class, without using setter getter?

Core Java
0 ratings
Views 124
what is reference instances
what is reference instances y we use in java

Core Java
0 ratings
Views 275
Given Gary's sequence of up and down steps during his last hike, find and print the number of valley
Gary is an avid hiker.During his last hike, he took exactly N steps. For every step he took, he noted if it was an uphill, U, or a downhill, D step. A mountain is a sequence of consecutive steps above sea level, starting with a step up from sea level and ending with a step down to sea level. A valley is a sequence of consecutive steps below sea level, starting with a step down from sea level and ending with a step up to sea level. For example, if Gary's path is s={D,D,U,U,U,U,D,D}, he first enters a valley 2 units deep. Then he climbs out an up onto a mountain 2 units high. Finally, he returns to sea level and ends his hike. For example, if Gary's path is , he first enters a valley units deep. Then he climbs out an up onto a mountain units high. Finally, he returns to sea level and ends his hike. Input Format The first line contains an integer N, the number of steps in Gary's hike. The second line contains a single string S, of N characters describing his path.

Core Java
0 ratings
Views 374
IMAGE PRODUCER IN JAVA
How to produce an image by using java programming language.

Core Java
0 ratings
Views 192
java program in oops concept
program to print recursive function



Advertisement