Skip to main content

Posts

Programming for Problem Solving JAVA

List of Experiment (1) Write a Program that displays Welcome to Java, Learning Java Now and Programming is fun. Program Code (2) Write a program that solves the following equation and displays the value x and y:1)3.4x+50.2y=44.5  2) 2.1x+.55y=5.9 (Assume Cramer’s rule to solve equation  ax+by=e     x=ed-bf/ad-bc      cx+dy=f      y=af-ec/ad-bc ) Program Code (3) Write a program that reads a number in meters, converts it to feet, and displays the result. Program Code (4) Body Mass Index (BMI) is a measure of health on weight.  It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters.  Write  a  program that prompts the user to enter a weight in pounds and height in inches and displays the BMI.Note:-1 pound=.45359237 Kg and 1 inch=.0254 meters. Program Code (5) Write a program that prompts the user to enter three integers and display the integers in decreasing order. Program Code (6) Write a program that prompts the user to enter a lette

CEP. 5

21.Difference between abstract class and interface Abstract class and interface both are used to achieve abstraction where we can declare the abstract methods. Abstract class and interface both can't be instantiated. But there are many differences between abstract class and interface that are given below. Abstract class Interface 1) Abstract class can  have abstract and non-abstract  methods. Interface can have  only abstract  methods. Since Java 8, it can have  default and static methods  also. 2) Abstract class  doesn't support multiple inheritance . Interface  supports multiple inheritance . 3) Abstract class  can have final, non-final, static and non-static variables . Interface has  only static and final variables . 4) Abstract class  can provide the implementation of interface . Interface  can't provide the implementation of abstract class . 5) The  abstract keyword  is used to declare abstract class. The  interface keyword  is used to declare interface. 6) An  abstra

Polymorphism in Java

Polymorphism in Java  is a concept by which we can perform a  single action in different ways . Polymorphism is derived from 2 Greek words: poly and morphs. The word "poly" means many and "morphs" means forms. So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and method overriding. If you overload a static method in Java, it is the example of compile time polymorphism. Here, we will focus on runtime polymorphism in java. next → ← prev Polymorphism in Java Polymorphism in Java  is a concept by which we can perform a  single action in different ways . Polymorphism is derived from 2 Greek words: poly and morphs. The word "poly" means many and "morphs" means forms. So polymorphism means many forms. There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism.

OnePlus Schedules ‘Special Event’ for CES 2020 Next Year

As OnePlus continues to  establish itself as a key player  in the West, the Chinese phone maker has sent out invites for its CES 2020 (Consumer Electronics Show) debut in Las Vegas, Nevada next year.OnePlus has only organized standalone events to unveil its smartphone and now also a  smart TV  to date. This is the first time the company will be attending CES and its press invite doesn’t give anything away. It simply mentions that it’s a  “Special Event”  without specifying the exact date and time. Pete Lau ✔ @PeteLau We'll show you something special. See you in Las Vegas. https:// twitter.com/saschasegan/st atus/1205471352339288064  … Sascha 5Gan ✔ @saschasegan This from @ oneplus @ PeteLau looks like the most interesting mobile(?) event at # CES2020 so far. Out of sequence for their phone launches ... it could seriously be ANYTHING. You bet we will be there. 1,524 6:29 PM - Dec 13, 2019 Twitter Ads info and privacy 171 people are talking about this The black and orange theme o

Redmi K30 5G with 120Hz Display, Snapdragon 765G and 64MP Camera Launched

Redmi may have started off as a budget-centric Xiaomi spin-off, but has now grown into a full-fledged brand of its own. Today, at a launch event in China, Redmi put an end to all the anticipation and  launched its first-ever 5G smartphone  – the Redmi K30. Apart from being the first 5G Redmi phone, the Redmi K30 brings along a number of other firsts as well. It’s the first [hone to be  powered by the newly announced Snapdragon 765G chipset  and the first Redmi phone with a higher refresh rate display. The new 64MP Sony IMX686 sensor also makes its official debut with this device. So, without further ado, here’s everything we need to know about the Redmi K30: Redmi K30 5G: Specs and Features Starting off with the design, Redmi K30 has taken inspiration from the iPhone 11 Pro to offer you a frosted glass back panel. It’s gonna feel awesome in the hands. The circular camera patch, however, boasts a glossy finish. The device uses Corning Gorilla Glass 5 protection and a 3D curved design fo

jio Terif After 6th December

DF TUtorial videos

1. introduce Of Counters 2. Programmable Logic Array (PLA) 3.Quine-McCluskey Minimization Technique (Tabular Method) 4. Programmable Array Logic (PAL) More Video Coming soon As Per Requirements so Stay Tune

BSNL Will Soon Invite Bids from Telecom Gear Makers to Purchase 4G Equipment

BSNL  is expected to roll out the much-awaited 4G services in the first half of 2020. In line with the schedule, the state-run telco will soon invite bids from telecom gear makers like Nokia,  Huawei , ZTE, Ericsson and so on for purchasing the 4G equipment which will be required in rolling out the fourth generation network services. As part of the  revival package  being given to BSNL and MTNL, the telcos will get 4G spectrum at the prices of 2016 auction. According to an ET Telecom report, BSNL will spend Rs 1,200 crore on 4G equipment over the next two years. Notably, BSNL will be the last major operator in the country to launch 4G services, but several subscribers of the telco are eagerly waiting to enjoy high-speed data like on the networks of Airtel, Vodafone Idea and Reliance Jio. BSNL Will Allow Chinese Vendors to Participate in the Auction At a time when several countries are banning the usage of telecom equipment from Chinese gear makers like Huawei and ZTE, BSNL says it will

Bharti Airtel to Follow Vodafone Idea in Raising Tariff Prices This December

Bharti Airtel  will also increase prices of tariff plans starting December 1, 2019. The announcement from Airtel came right after that from  Vodafone Idea . Both the telcos did not dive into further details on how much the tariffs will be hiked, but analysts are expecting at least 35-40% hike. Both Bharti Airtel and Vodafone Idea posted record losses in Q2 FY20, and the decision to increase tariff prices comes at the right time. A couple of years ago, both the telcos decreased tariffs to match Reliance Jio, but it’s impossible to sustain in the market right now with those tariffs, so the telcos decided to hike the prices. Vodafone Idea and Bharti Airtel Prepaid Plans Start at Less Than Rs 25 Right now, the basic service validity prepaid plans from Vodafone Idea and Bharti Airtel starts at less than Rs 25. Bharti Airtel has a Rs 23 Smart Recharge plan that does not offer any talk time or data benefit, but it extends a customer’s service validity by 28 days. Vodafone Idea has a Rs 24 All

Programming for Problem SolvingList of Experiment

1. Write a program to that performs as calculator ( addition, multiplication, division, subtraction). Get Code 2. Write a program to find area of triangle(a=h*b*.5) a = area h = height b = base  Get Code 3. Write a program to calculate simple interest  (i = (p*r*n)/100 ) i = Simple interest p = Principal amount r = Rate of interest n = Number of years  Get Code 4. Write a C program to interchange two numbers. Get Code   5. Write a C program to enter a distance in to kilometre and convert it in to meter, feet, inches and centimetre. Get Code 6. Write a program to compute Fahrenheit from centigrade (f=1.8*c +32)  Get Code 7. Write a C program to find out distance travelled by the equation  d = ut + at^2  Get Code 8. Write a C program to find that the accepted number is Negative, or Positive or Zero.  Get Code 9. Write a program to read marks of a student from keyboard whether the student is pass or fail( using if else) Get Code 10. Write a program to read three numbers from keyboard and

Contact Form

Name

Email *

Message *