can we create object for static class in java
Answer Posted / sriragv
There is no need to instantiate the object to make a copy
of the class in your system because already there is a copy
of the class will be available in the JVM we can directly
access them by 'class.member'
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What does this mean java?
Explain listiterator and methods in listiterator?
What is the difference between delete and delete[]
Can we sort arraylist in java?
What does main method?
Which are different kinds of source code?
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
What is method overriding in java ?
What is the difference between compare and compareto in java?
How many types of voids are there?
Is java a virus?
what are abstract functions?
Why to use nested classes in java?
What is use of functional interface in java 8? Explain
What are streams in java 8?