Recent questions tagged Java-interview-questions-answers

0 votes
    How is Date stored in database? (a) java.sql.Date (b) java.util.Date (c) java.sql.DateTime (d ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    What does LocalTime represent? (a) Date without time (b) Time without Date (c) Date and Time (d) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    How to get difference between two dates? (a) long diffInMilli = java.time.Duration.between(dateTime1, ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is long data type literal? (a) 0x99fffL (b) ABCDEFG (c) 0x99fffa (d) 99671246 I ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these can be returned by the operator &? (a) Integer (b) Boolean (c) Character (d) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is necessary condition for automatic type conversion in Java? (a) The destination type is ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    If an expression contains double, int, float, long, then the whole expression will be promoted into which of ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these operators is used to allocate memory to array variable in Java? (a) malloc (b) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is an incorrect array declaration? (a) int arr[] = new int[5] (b) int [] arr ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of these is an incorrect Statement? (a) It is necessary to use new operator to initialize an ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    Which of the following can be operands of arithmetic operators? (a) Numeric (b) Boolean (c) Characters ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
...