Recent Post

PrepBytes
Use Code KNOWPROGRAM10 to get FLAT 10% OFF on all Courses
  • How to Encourage Children to Learn Modern Technologies
    How to Encourage Your Children to Learn Modern Technologies (Artificial Intelligence, Big Data, Machine Learning) | The growth and advancement of modern technologies are driving the world that we now live in, and it continues to grow at an even faster rate every day. New technologies and innovations are being introduced regularly with these advancements. As parents, it is possible that you already feel left behind because you cannot catch …

    How to Encourage Children to Learn Modern Technologies Read More »

  • Java TreeSet & Comparator MCQ
    Java TreeSet & Comparator MCQ | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java TreeSet & Comparator MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Find the output of the below Java program? a) [150, 125, 100, 50, 0]b) [0, 50, 100, 125, 150]c) …

    Java TreeSet & Comparator MCQ Read More »

  • Java TreeSet MCQ
    Java TreeSet MCQ | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java TreeSet MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) In TreeSet the underlying data structure is? a) Hashtableb) Balanced Treec) UnBalanced Treed) AVL Tree Q2) Find the output of the below program? …

    Java TreeSet MCQ Read More »

  • Java Enumeration Iterator & ListIterator MCQ
    Java Enumeration Iterator & ListIterator MCQ | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Enumeration, Iterator, & ListIterator MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Using Enumeration(I) we can perform? a) Read Operationb) Remove Operationc) Add/Update Operationd) Both (a) and (b)e) All of …

    Java Enumeration Iterator & ListIterator MCQ Read More »

  • 7 Best Java Podcasts For Programmers & Tech Enthusiasts
    7 Of The Best Java Podcasts For Programmers And Tech Enthusiasts | Programmers are likely familiar with the vast applications of the Java programming language. It’s a simple yet high-level and beautiful programming language to those who understand it. For programmers and tech enthusiasts who are learning Java, it can be challenging at times.  “Some Java abstract concepts are more complex and difficult to grasp than others,” warns George Robinson, …

    7 Best Java Podcasts For Programmers & Tech Enthusiasts Read More »

  • Java Vector and Stack MCQ
    Java Vector and Stack MCQ | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java Vector and Stack MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Methods of vector class is? a) synchronizedb) non-synchronizedc) Both (a) and (b)d) None of these Q2) Vector class is? …

    Java Vector and Stack MCQ Read More »

  • EMP Table Script in SQL Server
    EMP Table Script in SQL Server | The emp and dept tables are given for practice purposes. It helps beginners to learn, practice different SQL queries. In this post, we have given emp and dept table script in SQL Server. DEPT table script in SQL Server, The DEPT table contains deptno, dname, and loc columns. Among these columns deptno is of INT type, dname and loc are of VARCHAR type. …

    EMP Table Script in SQL Server Read More »

  • Equal Operator (==) in Java
    Equal operator in Java with Examples | In Java equal operator is used to compare two primitives based on their value and two objects based on their references. After comparison, it gives a boolean result either true/false. It is widely used in conditional statements. Syntax:- LHS value == RHS value Important points on Java Equal operator in Java, Equal operator can be used to compare both primitive values, and objects. …

    Equal Operator (==) in Java Read More »

  • Java toString() Quiz
    The toString() method of the Object class in Java is used to retrieve object information in string form. Also see:- Object Class Quiz Q1) What is the return type of the toString() method in java.lang.Object class? a) Objectb) Stringc) voidd) Integer Q2) Which could be the possible output of the below Java program? a) [email protected] 101b) Test [email protected]) [email protected] [email protected]) t1 s1 Q3) Which could be the possible output of …

    Java toString() Quiz Read More »

  • System.identityHashCode() in Java
    System.identityHashCode() in Java | For every object in Java, JVM generates a unique integer value which is called hashcode. This hashcode is the integer representation of reference. Hashcode is a 32-bit unique integer number and is used to differentiate one object from another object and also used for differentiating one group of objects from other groups of objects. We can this JVM generated reference-based hashcode value by using the hashCode() …

    System.identityHashCode() in Java Read More »

  • Remove Duplicates From ArrayList Java
    Remove Duplicates From ArrayList Java | In this post, we will see how to remove duplicates from ArrayList in Java. We will also see how to remove duplicate objects from ArrayList in Java. To remove duplicates from the Java List,1) Store input values to the List.2) Copy List to Set. Set will allow only unique elements. In Java Set(I) stores unique elements. If we try to store duplicate elements then …

    Remove Duplicates From ArrayList Java Read More »

  • Java LinkedList MCQ
    Java LinkedList MCQ | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java LinkedList MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) In Java, the underlying data structure for the LinkedList class is? a) Singly linked listb) Doubly linked listc) Circular linked listd) None of …

    Java LinkedList MCQ Read More »

  • Java ArrayList MCQ-2
    Java ArrayList MCQ-2 | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java ArrayList MCQ and programming questions, answer them. See:- Java ArrayList MCQ-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Find the output of the below Java ArrayList program? a) [B, B]b) [A, A, A]c) [A, B, A, B, A]d) [A, …

    Java ArrayList MCQ-2 Read More »

  • Top Free Online Mahjong Games
    Top Free Online Mahjong Games | Mahjong is an ancient Chinese strategy game that is played today by people all over the world. It has also been adapted into widespread online entertainment. It is a classic tile-matching game that challenges your brain. Mahjong Solitaire is the typical variant played online, which is a single-player version of the original four-player Mahjong. Mahjong is a game of skill, strategy, and luck. The …

    Top Free Online Mahjong Games Read More »

  • Java ArrayList MCQ-1
    Java ArrayList MCQ-1 | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some Java ArrayList MCQ and programming questions, answer them. See:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Which of the following classes implements the RandomAccess interface? (More than one options are correct). a) ArrayListb) LinkedListc) Vectord) Stack Q2) …

    Java ArrayList MCQ-1 Read More »

  • Java Collections Quiz-2
    Java Collections Quiz-2 | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some basic and fundamental Java Collections Quiz, answer them. Previously we have seen:- Java Collections Quiz-1 Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Which of the following classes are direct/indirect implementation classes of the List interface? a) ArrayList, LinkedList, Vector, and Stackb) …

    Java Collections Quiz-2 Read More »

  • Java Collections Quiz-1
    Java Collections Quiz-1 | In Java, collection framework classes are used to store elements in value or key-value format without size limitation. We have listed some basic and fundamental Java Collections Quiz, answer them. Also see- Java Collection Framework Overview, Java Collection Interface, List Interface in Java Q1) Which of the following are limitations of Array? a) It is fixed in size.b) It allows us to store only the same …

    Java Collections Quiz-1 Read More »

  • If-Else Statement MCQ in Python
    Q1) Can we write if/else into one line in python? a) Yesb) Noc) if/else not used in pythond) None of the above Q2) Which one of the following is a valid Python if statement. a) if a>=2 :b) if (a >= 2)c) if (a => 22)d) if a >= 22 Q3) What keyword would you use to add an alternative condition to an if statement? a) else ifb) elseifc) elifd) …

    If-Else Statement MCQ in Python Read More »

  • List Interface in Java
    List Interface in Java | In this post we will discuss the List interface in Java. What are the different List methods in Java? Program to demonstrate List and its methods. List is the child interface of Collection(I). If we want to represent a group of individual objects as a single entity where duplicates are allowed & insertion order must be preserved then we should go for List. We can …

    List Interface in Java Read More »

  • If-Else Statement MCQ in Java-2
    Q1) An IF-ELSE statement is also called _____. a) Branching statementb) Control statementc) Block statementsd) All Q2) Which of these are selection statements in Java? a) if()b) for()c) continued) break Q3) What is the maximum number of ELSE-IF statements that can be present in between starting IF and ending ELSE statements? a) 32b) 64c) 128d) None Q4) Which of these selection statements test only for equality? a) ifb) switchc) if …

    If-Else Statement MCQ in Java-2 Read More »

  • Java Collection Interface
    Java Collection Interface | If we want to represent a group of individual objects as a single entity then we should go for Collection(I). A collection represents a group of objects, known as its elements.  It is part of the Java Collection Framework (i.e. java.util package). Most of the interfaces/classes belonging to java.util package directly or indirectly implements Collection(I), therefore the Collection interface is considered as the root interface of …

    Java Collection Interface Read More »

  • If-Else Statement MCQ in Java-1
    Q1) Java-style IF-ELSE statements are similar to ____. a) C styleb) C++ Stylec) Both C and C++ styled) None Q2) An ELSE statement must be preceded by ____ statement in Java. a) IFb) ELSE IFc) IF or ELSE IFd) None Q3) Choose the correct syntax of the Java IF statement below. a) b) c) d) All Q4) An IF statement in Java is also a ____ statement. a) booleanb) conditionalc) …

    If-Else Statement MCQ in Java-1 Read More »

  • Java Collection Framework Overview
    Java Collection Framework Overview | In this post we will see the limitations of Array and the need for the Java collection framework. What is Java Collection Framework? What are the different interfaces and classes gives in the Java collection framework? They were given in which version and what is the main purpose of that interface/class? In which situation we should use which collection class? Limitations of Array An array …

    Java Collection Framework Overview Read More »

  • Hello World MCQ in Java
    Q1) Find the output of the given Java program? a) Hello Worldb) HelloWorldc) Compiled Successfully, No Output.d) Compile-time error Q2) Find the output of the given Java program? a) Hello Worldb) Know Programc) Hello World Hello Know Programd)Hello WorldHello Know Program Q3) What is the output of the given below program? a) Hello Worldb) Know Programc) Hello World Hello Know Programd)Hello WorldHello Know Program Q4) What is the output of …

    Hello World MCQ in Java Read More »

  • 9 Python Projects To Try As A Beginner
    9 Python Projects To Try As A Beginner | Python is one of the most popular programming languages currently available, so if you’re looking to get into programming, learning Python is the way to go. The best way to learn it is to use it, so here are some of the best Python projects to try your hand at. You’ll start picking up the skills you need in no time.  …

    9 Python Projects To Try As A Beginner Read More »

  • Do While Loop MCQ in C
    Q1) Choose the correct syntax of the do-while loop in C language? a) b) c) d) Q2) Find the output of the given program? a) Know Programb) Know Program is printed infinite times.c) Compiled Successfully, No Outputd) Compile-time error Q3) Find the output of the given program? a) Know Programb) Know Program is printed infinite times.c) Compiled Successfully, No Outputd) Compile-time error Q4) What is the output of the given …

    Do While Loop MCQ in C Read More »

  • Java Generics Test Questions
    Java Generics Quiz Part – 3 | In Java Generics feature was introduced in Java 5 version to provide the type for method’s parameter and return type dynamically by achieving compile-time type checking for solving ClassCastException. Here we will see different Java generics test Questions. Also See:- Java Generics Quiz Part – 1, Java Generics Quiz Part – 2 Q1) Which of the following is invalid? a) ArrayList<? extends Number> …

    Java Generics Test Questions Read More »

  • While Loop MCQ in C
    Q1) Choose correct syntax of while loop in c. a) b) c) d) Q2) What is the output of the given below program? a) Nb) NNNNc) NNNNNd) Compile-time error Q3) Find the output of the given program? a) NNNNb) NNNNNc) Compiled Successfully, No Outputd) Compile-time error Q4) What is the output of the given below program? a) Nb) NNc) NNNd) Compiled Successfully, No Outpute) Compile-time error Q5) What is the …

    While Loop MCQ in C Read More »

  • Java Generics Test Questions
    Java Generics Quiz Part – 2 | In Java Generics feature was introduced in Java 5 version to provide the type for method’s parameter and return type dynamically by achieving compile-time type checking for solving ClassCastException. Here we will see different Java generics test Questions. Also See:- Java Generics Quiz Part – 1, Java Generics Quiz Part – 3 Q1) We can call m1() method by passing? a) ArrayList object …

    Java Generics Test Questions Read More »

  • For Loop MCQ in C
    Q1) What is the correct syntax of for loop in C? a) b) c) d) Q2) What will be the correct syntax for running two variables for loop simultaneously? a) for (i = 0; i < n; i++)for (j = 0; j < n; j += 5) b) for (i = 0, j = 0; i < n, j < n; i++, j += 5) c) for (i = 0; …

    For Loop MCQ in C Read More »

Follow Us