Channel Avatar

Code With Nikita @UCPxYViNWyFDFfF22nFKkSuA@youtube.com

1.2K subscribers

hey guys, I started this channel to teach you all the things


Welcoem to posts!!

in the future - u will be able to do some more stuff here,,,!! like pat catgirl- i mean um yeah... for now u can only see others's posts :c

Code With Nikita
Posted 1 week ago

What happens if an abstract class does not have any abstract methods?

4 - 0

Code With Nikita
Posted 2 weeks ago

Which of the following collections allows duplicate elements?

5 - 0

Code With Nikita
Posted 3 weeks ago

What is the difference between List<Object> and List<?>?

4 - 0

Code With Nikita
Posted 3 weeks ago

What is the main purpose of a Singleton class in Java?

6 - 0

Code With Nikita
Posted 1 month ago

What will be the output of the following code?
public class Test {
public static void main(String[] args) {
String s1 = "Java";
String s2 = new String("Java");
String s3 = s2.intern();

System.out.println(s1 == s2);
System.out.println(s1 == s3);
System.out.println(s2.equals(s3));
}
}

4 - 0

Code With Nikita
Posted 2 months ago

The ArrayList class is part of the java.util package.

3 - 0

Code With Nikita
Posted 2 months ago

Which package is automatically imported into every Java program?

7 - 0

Code With Nikita
Posted 4 months ago

7. Which of the following classes is immutable?

6 - 1

Code With Nikita
Posted 4 months ago

What will be the result of the expression: 5 + 2 + "Java"?

4 - 0

Code With Nikita
Posted 4 months ago

Which keyword is used to inherit a class in Java?

6 - 1