RUVIDEO
Поделитесь видео 🙏

9 Java practice questions смотреть онлайн

9 Java practice questions

2:19 - 8:13
1.Write a program to calculate perimeter and area of rectangle implement the program using class and
object. (hint :area = length * breadth , perimeter=2*(length+breadth))

8:14 - 28:35
2.Write a menu driven program to perform the following operations
i.Calculate the volume of cylinder.
ii.(hint : Volume: π × r² × h)
iii.Find the factorial of given number.
iv.Check the number is Armstrong or not.
v.Exit

28:35 - 35:45
3.Write a program to accept the array element and find the entered number whether present in array or
not and print appropriate message.

35:45 - 44:32
4.Write a java program to display the system date and time in various formats shown below: Current
date is : 31/08/2021
Current date is : 08-31-2021
Current date is : Tuesday August 31 2021
Current date and time is : Fri August 31 15:25:59 IST 2021
Current date and time is : 31/08/21 15:25:59 PM +0530 Current time is : 15:25:59
Current week of year is : 35 Current week of month : 5 Current day of the year is : 243
Note: Use java.util.Date and java.text.SimpleDateFormat class

44:32-51:10
5.Define a class MyNumber having one private int data member. Write a default constructor to initialize
it to 0 and another constructor to initialize it to a value (Use this). Write methods isNegative, isPositive,
isZero, isOdd, isEven. Create an object in main. Use command line arguments to pass a value to the
object (Hint : convert string argument to integer) and perform the above tests. Provide javadoc
comments for all constructors and methods and generate the html help file.

51:10- 1:00:59
6.Write a program to accept n names of country and display them in descending order.

1:00:59 - 1:11:35
7.Write a menu driven program to perform the following operations on 2D array:
i. i.Sum of diagonal elements
ii. ii.Sum of upper diagonal elements
iii. iii.Sum of lower diagonal elements
iv. iv.Exit

1:11:35 - 1:15:38
8.Write a program to display the 1 to 15 tables.

1:15:38
9.Create an employee class(id, name, deptname, salary). Define a default and parameterized
constructor. Use ‘this’ keyword to initialize instance variables. Keep a count of objects created. Create
objects using parameterized

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «9 Java practice questions» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.