adplus-dvertising
frame-decoration

Question

Which of the below is invalid identifier with the main method?

a.

public

b.

static

c.

private

d.

final

Answer: (c).private

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the below is invalid identifier with the main method?

Similar Questions

Discover Related MCQs

Q. What is the extension of java code files?

Q. What is the extension of compiled java classes?

Q. How can we identify whether a compilation unit is class or interface from a .class file?

Q. What is use of interpreter?

Q. Which of these package is used for text formatting in Java programming language?

Q. Which of this class can be used to format dates and times?

Q. Which of these method returns an instance of DateFormat that can format time information?

Q. Which of these class allows us to define our own formatting pattern for dates and time?

Q. Which of these formatting strings of SimpleDateFormat class is used to print AM or PM in time?

Q. Which of these formatting strings of SimpleDateFormat class is used to print week of the year?

Q. Which of the following is not a class of java.util.regex?

Q. What is the significance of Matcher class for regular expression in java?

Q. Object of which class is used to compile regular expression?

Q. Which capturing group can represent the entire expression?

Q. groupCount reports a total number of Capturing groups.

Q. Which of the following matches nonword character using regular expression in java?

Q. Which of the following matches end of the string using regular expression in java?

Q. What does public int end(int group) return?

Q. What does public String replaceAll(string replace) do?

Q. What does public int start() return?