How do you check if a string is lexicographically in java?
No Answer is Posted For this Question
Be the First to Post Answer
Can you call one constructor from another if a class has multiple constructors?
How many arguments can be passed to main ()?
Which graphs are functions?
What is the difference between checked exception and unchecked exception?
what is tempplate pattern
Does constructor creates the object ?
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
What is the difference between constructor and method?
Explain the scope of a variable.
why the equals method can be override?when we override the equals method?
Which methods cannot be overridden in java?
What are the advantages of user defined functions?