class fun { public static void main(String[] args) { String str="java is an object oriented programming language"; String[] strs = str.split(" "); int sum = 0; for(int i=0;i<strs.length;i++) { sum += strs[i].length(); System.out.pri…
Python is an example of high-level language. As you might infer from the name “high-level language”, there are also low-level languages, sometimes referred to as “machine languages” or “assembly languages”. Loosely speaking, computers can only execut…