C++ and Java
In this post see most important questions for practical questions given by college all questions with answers . Guys I want to say that this is only for suggested post for your practical please request to you change same alphabets, words or anything methods name and variables name because if you write all words same then this is copy paste for another peoples.
Used Topics: Keywords, Variables, Condition Statements, Function , Array, Structure, Pointer.
In OOPs, Class and Objects, Constructor, Poly morph, Encapsulation, Access Specifiers, Inheritance etc.
So, Without Time Lose Come to the Points, let's go start Now:
*************************************************************************
C++ 12 Questions:
- Write a C++ Program to display Names, Roll No and grades of 3 students who have appeared in the examination. Declare the class of name, Roll No and grade.
- Create an array of class objects. Read and display the contents of the array.
- Write a C++ program to declare Struct. Initialize and display contents of member variables.
- Write a c++ program to implement Constructors and destructor.
- Write a c++ program to compare two objects using friend function.
- Write C++ program for unary increment (++) and decrement (--) operator overloading
- Implement operator overloading to add two complex numbers.
- C++ program to demonstrate example of Copy Constructor.
- Count the created objects using static member function in C++.
- Write code to implement dynamic polymorphism.
- Create function template to perform addition for two different numbers.
- Write code to store roll and name of student in a file and print back.
- Q1. Write a program to create an applet displaying Hello World.
- Q2. Write a program to take three numbers from command line and find the largest among them.
- Q3.Write a program to print the table of given number from command line in alternate way as follows EX: Suppose given number is 2 Suppose given number is 5 Output 2,6,10,14,18 Output 5,15,25,35,45
- Q4. Create a sample class for student having roll, name and mobile number as data.
- Q5. WAP to show the creation and use of a thread.
- Q6. WAP to show the use of “for - each” loop.
- Q7. WAP to show the use of method overloading.
- Q8. WAP to show the use of method overriding.
- Q9. Write a program show simple inheritance in java.
- Q10. Write a program to show the use of super in Java.
Guys Please Following Link Download all Questions Answers:
👨🎓👨🎓👨🎓👨🎓!!Click Here!!👨🎓👨🎓👨🎓👨🎓
C++ 12 Questions
Java 10 Questions
I hope this post is helpful for you.Don't Forget Follow Me.
Comments